﻿using Microsoft.EntityFrameworkCore;
using SY.BasicData.Domain;
using SY.BasicData.Domain.Base;
using SY.BasicData.Domain.Basic;
using SY.BasicData.Domain.Cultivation;
using SY.BasicData.Domain.DeepProcessing;
using SY.BasicData.Domain.SlaughterInformation;

namespace SY.BasicData.Infrastructures
{
    public class DBDbContext : DbContext
    {
        public DBDbContext(DbContextOptions options) : base(options)
        {
        }
        //溯源管理--基本信息表
        public DbSet<BasicModel> BasicModels { get; set; }
        //溯源管理--商品信息表
        public DbSet<StoreModel> StoreModels { get; set; }
        /// <summary>
        /// 溯源管理--养殖企业表
        /// </summary>
        public DbSet<CultivationCommpanyModel> CultivationCommpanyModels { get; set; }
        /// <summary>
        /// 溯源管理--养殖信息表
        /// </summary>
        public DbSet<CultivationModel> CultivationModels { get; set; }
        /// <summary>
        /// 溯源管理--养殖免疫表
        /// </summary>
        public DbSet<ImmunityModel> ImmunityModels { get; set; }
        public DbSet<DeepProcessingCompanyModel> DeepProcessingCompanyModels { get; set; }
        public DbSet<DeepVendorModel> DeepVendorModels { get; set; }
        public DbSet<SlaughterCommpanyModel> SlaughterCommpanyModels { get; set; }
        public DbSet<SlaughterModel> SlaughterModels { get; set; }
        public DbSet<NewPictureModel> NewPictureModels { get; set; }
        public DbSet<PictureModel> PictureModels { get; set; }
        public DbSet<DeepProcessingModel> DeepProcessingModels { get; set; }
    }
}
